package com.cxl.entity;

import java.io.Serializable;

public class Comment implements Serializable {

    private Integer praise; //好评
    private Integer medium;//中评
    private Integer negative;//差评

    @Override
    public String toString() {
        return "Comment{" +
                "praise=" + praise +
                ", medium=" + medium +
                ", negative=" + negative +
                '}';
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    public Integer getMedium() {
        return medium;
    }

    public void setMedium(Integer medium) {
        this.medium = medium;
    }

    public Integer getNegative() {
        return negative;
    }

    public void setNegative(Integer negative) {
        this.negative = negative;
    }

    public Comment() {
    }

    public Comment(Integer praise, Integer medium, Integer negative) {
        this.praise = praise;
        this.medium = medium;
        this.negative = negative;
    }
}
